package com.shop.product.mapper;

import com.shop.product.domain.MallProductRuleAttrInfo;
import com.shop.product.domain.MallProductRuleInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

@Mapper
public interface MallProductRuleAttrInfoMapper {
    void insertMallProductRuleAttrInfoList(@Param("ruleAttrInfoList") ArrayList<MallProductRuleAttrInfo> ruleAttrInfoList);

    void deleteMallProductRuleAttrInfoByRuleId(@Param("ruleId") Long ruleId);

    List<MallProductRuleInfo> selectMallProductRuleAttrInfoList(MallProductRuleAttrInfo mallProductRuleAttrInfo);
}
